<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>首页</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--链接外部的js文件-->
<script type="text/javascript"
	src="${pageContext.request.contextPath}/jslib/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/jslib/index.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/index.css" />
	<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/public.css" />
</head>

<body>

<div class="div_head"><%--用于加入头部图片 --%>
</div>
<%--============================登录与注册按钮     R_=========================================== --%>
	<div id="div1">
		<s:if test="user!=null">
		                欢迎你: <s:property value="#session.user.nickname"/>
		     <a
				href="${pageContext.request.contextPath}/register/register_addRegisterUser.action">注销</a>
		</s:if>
		<s:if test="user==null">
			<a
				href="${pageContext.request.contextPath}/register/register_registerUI.action"><font color="#26A2F2" size="4px">注册</font></a>
			<a onclick="showwin()"><font color="#26A2F2" size="4px">登录</font></a>
		</s:if>
	</div>

<%--============================登录界面      L_=========================================== --%>
	<div id="win">
		<div id="title">
			<span id="close" onclick="hide()">X</span>
		</div>
		<div id="content">
			<form action="${pageContext.request.contextPath}/login/login_login.action"
				method="get">
				<table Class="tb">
					<tr>
						<td><span>用户名:<input type="text" name="telephone" /><a
								href="#">注册帐号</a></span></td>
					</tr>

					<tr>
						<td><span>密 码:<input type="password" name="password" /><a
								href="#">找回密码</a></span></td>
					</tr>

					<tr>
						<td><span>认证码:<input type="text" name="chackcode">
								<img src="/zhangyong1/servlet/ResponseDemo5"
								onclick="change(this)" alt="换一张" style="cursor:hand"></span></td>
					</tr>

					<tr>
						<td colspan="1" align="center"><input type="submit"
							value="确定" /></td>
					</tr>
				</table>
			</form>
		</div>
	</div>

<%--============================首页题目T_========================================== --%>	

    <%--============================首页题目内容C_========================================== --%>
    <div class="C_body"> 
          
            <table class="C_tableM" >
	             <tr>
	               <td>&nbsp&nbsp</td>
		               <td><a href="${pageContext.request.contextPath}/index.jsp">首页</a></td>
		               <td><a href="${pageContext.request.contextPath}/servlet/Images">讨论区</a></td>
		               <td><a href="">聊天空间</a></td>
		               <td><a href="">我的事迹</a></td>
		               <td><a href="${pageContext.request.contextPath}/jason/my_myintrodUI.action">自我介绍</a></td>
		               <td><a href="${pageContext.request.contextPath}/discuss/leaveword_leaveWord.action">留言板</a></td>
		             <td><td>&nbsp&nbsp</td></td>
	             </tr>
            </table>
            
          <div class="C_image">
          <div class="container" style="margin-top:60px">
			    <div id="slides">
			      <img src="./img/example-slide-1.jpg">
			      <img src="./img/example-slide-2.jpg">
			      <img src="./img/example-slide-3.jpg">
			      <img src="./img/example-slide-4.jpg">
			      <img src="./img/example-slide-4.jpg">
			    </div>
          </div>
           111
   </div>	
</body>
</html>
